package models

// UserCollectModel 自定义第三张表  记录用户什么时候收藏了什么文章
type User2Collects struct {
	UserID       uint    `gorm:"primaryKey"`
	UserModel    Users   `gorm:"foreignKey:UserID"`
	ArticleID    uint    `gorm:"primaryKey"`
	ArticleModel Article `gorm:"foreignKey:ArticleID"`
	DeletedAt    int64   `json:"deleted_at"`
	Status       int     `gorm:"default:1" json:"status"`
	CreatedAt    int     `json:"create_date"`
}
